package com.home.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.home.dao.UserMapper;
import com.home.entity.User;
import com.home.service.UserService;

@Service
public class UserServiceImpl implements UserService{

	@Autowired
	private UserMapper userMapper;
	@Override
	public String getUserList() {
		return null;
	}
	
	@Override
	public User selectByPrimaryKey(Integer id) {
		return userMapper.selectByPrimaryKey(id);
	}

	@Override
	public String getPassWordByName(String userName) {
		return userMapper.getPassWordByName(userName);
	}

}
